package com.lu.model.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

import java.util.Arrays;
import java.util.List;

/**
 * @Description 是与否
 * @Author: zhanglu
 * @Date: 2022/7/21 11:45
 */
@Getter
@AllArgsConstructor
public enum YesOrNoEnum {

  YES(1, Arrays.asList("是", "启用", "订单1不预占", "直接扣积分，记录流水", "已删除", "收入-账户增加")),
  NO(0, Arrays.asList("否", "禁用", "订单0预占", "预扣除用户积分，失败时用户积分可以回滚", "未删除", "支出-账户减少"))

  ;

  private Integer value;
  private List<String> description;

}
